﻿<%@ Page Language="C#" AutoEventWireup="true" EnableSessionState="True" %>

<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.SaleSystem.Tags" Assembly="Hidistro.UI.SaleSystem.Tags" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Controls" Assembly="Hidistro.UI.Common.Controls" %>
<%@ Register TagPrefix="wnxd" Namespace="wnxd.Web" Assembly="wnxd.Web" %>
<script runat="server">
    void Page_Load(object sender, EventArgs e)
    {

        string Title = "美国威裤veikoou男磁疗保健内裤_高档男平角裤_保健内裤_高档莫代尔男平角裤_英国卫裤";
        string Keywords = "美国威裤veikoou男磁疗保健内裤,高档男平角裤,保健内裤,高档莫代尔男平角裤,英国卫裤";
        string Description = "橘色成人用品官网销售成人用品,情趣用品性用品夫妻性爱生活用品成人玩具专业平台。橘色商城中所有成人情趣性用品均由正规厂商生产。美国威裤veikoou男磁疗保健内裤_高档男平角裤_保健内裤_高档莫代尔男平角裤_英国卫裤货到付款,保密配送。";
        PageTitle.AddSiteNameTitle(Title);
        MetaTags.AddMetaKeywords(Keywords, Hidistro.Membership.Context.HiContext.Current.Context);
        MetaTags.AddMetaDescription(Description, Hidistro.Membership.Context.HiContext.Current.Context);
    }
</script>
<Hi:Common_New_Header runat="server" SkinName="/ascx/JsNewTags/Skin-Common_New_Header.ascx" />
<script type="text/javascript" src="http://res.juseshop.com/utility/jquery.artdialog.js"></script>
<link type="text/css" rel="stylesheet" href="http://res.juseshop.com/utility/skins/opera.css" />
<link rel="stylesheet" type="text/css" href="http://res.juseshop.com/css/huodong/clnk.css">
<div class="container_main_nav">
    <a href="#dina">
        <img src="http://image.juseshop.com/images/huodong/8/goumai.jpg" /></a>
</div>
<div class="agvfr">
    <a href="#dina">
        <div class="cl1"></div>
        <div class="cl2"></div>
        <div class="cl3"></div>
        <div class="cl4"></div>
    </a>
</div>
<div class="rgerg">
    <div class="ssdgfb">
        <div class="ssdgfb-1">
            <img src="http://image.juseshop.com/images/huodong/8/cl5.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl6.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl7.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl8.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl9.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl10.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl11.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl12.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl13.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl14.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl15.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl16.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl17.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl18.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl19.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl20.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl21.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl22.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl23.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl24.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl25.jpg">
            <img src="http://image.juseshop.com/images/huodong/8/cl26.jpg">
        </div>
        <div class="top17" id="dina">
            <img src="http://image.juseshop.com/images/huodong/8/baby27.jpg" />
        </div>
        <div class="top32">
            <div class="hhjj">
                <div class="dingdan clearfix" id="hot" style="border: none">
                    <div class="dingdan_left">
                        <div class="dingdan_top">
                            <img src="http://image.juseshop.com/images/huodong/8/tita.gif" width="437px" height="37px">
                        </div>
                        <div class="bdbox">
                            <wnxd:web runat="server" />
                            <form id="aspnetForm">
                                <input type="hidden" name="product" value="1861_1050_1047" />
                                <ul>
                                    <li id="wnxd_plist" style="height: 82px; border-top: 1px solid #e4e4e4;">
                                        <span class="bdl"><em>*</em>选择产品</span>
                                        <span class="bdr">
                                            <div class="payaa">
                                                <div class="thn" style="white-space: nowrap; line-height: 20px; margin-top: 5px;">
                                                    <input class="dxk" type="radio" name="productSku" value="1047" checked="checked" price="138"><label style="margin-left: 10px;">美国威酷磁疗保健内裤1条</label>
                                                </div>
                                                <div class="thn" style="white-space: nowrap; line-height: 20px; margin-top: 5px;">
                                                    <input class="dxk" type="radio" name="productSku" value="1048" price="276"><label style="margin-left: 10px;">美国威酷磁疗保健内裤<span style="color: #F00; margin: 0 5px;">买二送一(套装)</span></label>
                                                </div>
                                                <div class="thn" style="white-space: nowrap; line-height: 20px; margin-top: 5px;">
                                                    <input class="dxk" type="radio" name="productSku" value="1049" price="414"><label style="margin-left: 10px;">美国威酷磁疗保健内裤<span style="color: #F00; margin: 0 5px;">买三送二(套装)</span></label>
                                                </div>
                                            </div>
                                        </span>
                                    </li>
                                    <li><span class="bdl"><em>*</em>产品尺寸</span><span id="chicun" class="bdr">
                                        <b class="bi" sku="1861_1050">L</b>
                                        <b sku="1861_1051">XL</b>
                                        <b sku="1861_1052">XXL</b>
                                        <b sku="1861_1053">XXXL</b>
                                    </span></li>
                                    <li class="kok"><span class="bdl"><em>*</em>数量</span><span class="bdr" style="margin-top: 5px;"><p><a href="javascript:sub();" style="margin-right: 15px;">-</a><input id="buyAmount" class="test" name="count" type="text" value="1" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'0')}else{this.value=this.value.replace(/\D/g,'')}" onblur="if(this.value=='')this.value='1';"><a href="javascript:add();" style="margin-left: 15px;">+</a><strong style="margin-left: 15px;">件</strong><em style="margin-left: 10px; color: ##ab8440;">（优惠价：<i style="color: #e90c47;" id="price">138.00</i>元）</em></p>
                                    </span></li>
                                    <li><span class="bdl"><em>*</em>收货人姓名</span><span class="bdr" style="margin-top: 5px;"><input class="txt kda" type="text" name="shr"></span></li>
                                    <li><span class="bdl"><em>*</em>手机号码</span><span class="bdr" style="margin-top: 5px;"><input class="txt kda" type="text" name="sjhm"></span></li>
                                    <li><span class="bdl"><em>*</em>所在地区</span><span class="bdr">
                                        <Hi:RegionSelector runat="server" ID="dropRegions" />
                                    </span>
                                    </li>
                                    <li><span class="bdl"><em>*</em>收货地址</span><span class="bdr" style="margin-top: 5px;"><input class="txt kdb" type="text" name="shdz"></span></li>
                                    <li class="pay" style="height: 42px"><span class="bdl"><em>*</em>付款方式</span>
                                        <span class="bdr">
                                            <div class="payaa" style="border: solid 2px red; padding: 0 5px;">
                                                <input class="dxk" type="radio" value="1" name="fkfs" checked="checked" style="margin-left: 6px;">
                                                <label>货到付款</label>
                                                <input class="dxk" type="radio" value="7" name="fkfs">
                                                <label>银联支付</label>
                                                <input class="dxk" type="radio" value="2" name="fkfs">
                                                <label>支付宝在线付款</label><span style="color: #F00; float: right;">(在线支付立省8%）</span>
                                            </div>
                                        </span>
                                    </li>
                                    <li class="guest" style="height: 71px"><span class="bdl">留言</span><span class="bdr" style="height: 70px"><textarea class="guest kdb" onblur="if (value ==''){value='请尽快发货，送货之前请电话联系，谢谢！'}" onfocus="if(value=='请尽快发货，送货之前请电话联系，谢谢！'){value=''}" name="guest" style="height: 65px; line-height: 20px;">请尽快发货，送货之前请电话联系，谢谢！</textarea></span></li>
                                                                            <p id="tishi" style="color: #FF0000; margin-top: 5px; margin-left: 115px">
                                            您在网上订单中留下的个人资料将会得到保密，绝无泄露！
                                        </p>
                                    <li class="submit" style="height: 52px; border: none; margin-top: 20px;">
                                        <div prefix="wnxd_Ajax" url="/huodong/SpreadPageOrder.aspx" onclick="Post" act="form" inc="aspnetForm" repeat="Repeat" verify="verify" style="margin-left: 135px; cursor: pointer;">
                                            <img src="http://image.juseshop.com/images/huodong/8/tijiaods.jpg" id="tjdd" width="261px" height="50px">
                                        </div>
                                    </li>
                                </ul>
                            </form>
                        </div>
                    </div>
                    <div class="dingdan_right">
                        <div class="dingdan_right_tou">
                            <p>发货通知<span>Notice of shipment</span></p>
                        </div>
                        <div class="dingdan_right_nei">
                            <Hi:wnxd_SpreadPage_Info runat="server" />
                        </div>
                    </div>
                    <div class="paybb_kdb">
                        <p>1.您也可以选择短信订购，只需发送您选中的商品型号、版本价格，和您的详细收货地址到手机号15399909969，即可免费下单；</p>
                        <p>2.货物送到先开箱验货，确认商品无误后再付款！收到货有任何疑问请拨打我们免费客服电话。</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="top18" style="text-align: center;">
            <img src="http://image.juseshop.com/images/huodong/8/baby29.jpg" />
            <img src="http://image.juseshop.com/images/huodong/8/baby30.jpg" />
        </div>

    </div>
</div>
<script type="text/javascript">
    function sub() {
        var i = parseInt($("#buyAmount").val());
        if (i > 1) {
            i--;
            $("#buyAmount").val(i);
            var price = parseFloat($("[name='productSku']:checked").attr("price"));
            $val = $("[name='fkfs']:checked").val();
            var $bs = $val == "7" || $val == "2" ? 0.92 : 1,
            price = price * i * $bs;
            $("#price").text(price.toFixed(2));
        }
    }
    function add() {
        var i = parseInt($("#buyAmount").val()) + 1;
        $("#buyAmount").val(i);
        var price = parseFloat($("[name='productSku']:checked").attr("price"));
        $val = $("[name='fkfs']:checked").val();
        var $bs = $val == "7" || $val == "2" ? 0.92 : 1,
        price = price * i * $bs;
        $("#price").text(price.toFixed(2));
    }
    function Repeat() {
        art.dialog({
            title: "提示",
            content: "请不要重复提交",
            cancel: true,
            fixed: true
        });
    }
    (function () {
        $(".wnxd_gd").each(function (index) {
            var $this = $(this),
                $count = $(".wnxd_gd").length,
                ms = $this.children("li").length * 588,
                $height = $this.height(),
                $fun = function (n, index) {
                    $this.animate({ "top": -(index + 1) * $height }, ms * n, "linear", function () {
                        $this.css("top", ($count - index - 1) * $height);
                        $fun($count, index);
                    });
                };
            if (ms != 0) $fun(index + 1, index);
        });
        var $psku = $("[name='productSku']"),
            $sku = $("#chicun").children("b"),
            $price = $("#price"),
            $product = $("[name='product']");
            $fkfs = $("[name='fkfs']");
        $psku.click(function () {
            var $this = $(this),
                s1 = $this.val(),
                s2 = $sku.filter(".bi").attr("sku"),
                price = parseFloat($this.attr("price")),
                count = parseInt($("#buyAmount").val());
               fkfs = $("[name='fkfs']:checked").val()
                if (fkfs == 2 || fkfs == 7) {
                    price = price * count * 0.92;
                }
                else {
                    price = price * count;
                }
            $price.text(price.toFixed(2));
            $product.val(s2 + "_" + s1);
        });
        $fkfs.click(function () {
            var $val = $(this).val(),
              $bs = $val == "7" || $val == "2" ? 0.92 : 1,
              $p = parseFloat($psku.filter(":checked").attr("price"));
              count = parseInt($("#buyAmount").val());
              $p = $p *count* $bs;
            $price.text($p.toFixed(2));
        });
        $sku.click(function () {
            var $this = $(this);
            if (!$this.hasClass("bi")) {
                $sku.filter(".bi").removeClass("bi");
                $this.addClass("bi");
                var $s = $psku.filter(":checked"),
                    s1 = $s.val(),
                    s2 = $this.attr("sku"),
                    price = parseFloat($s.attr("price")),
                    count = parseInt($("#buyAmount").val());
                price = price * count;
                $price.text(price.toFixed(2));
                $product.val(s2 + "_" + s1);
            }
        });
        window.verify = function () {
            if ($("[name='regionSelectorValue']").val() == "") {
                art.dialog({
                    title: "提示",
                    content: "请选择收货地址",
                    cancel: true,
                    fixed: true
                });
                return false;
            }
            var name = $("[name='shr']").val();
            if (name == "" || !/[\u4e00-\u9fa5a-zA-Z]+[\u4e00-\u9fa5_a-zA-Z0-9]*/.test(name)) {
                art.dialog({
                    title: "提示",
                    content: "请输入正确的收货人姓名",
                    cancel: true,
                    fixed: true
                });
                return false;
            }
            else if (name.length < 2 || name.length > 20) {
                art.dialog({
                    title: "提示",
                    content: "收货人姓名长度应在2-20个字符之间",
                    cancel: true,
                    fixed: true
                });
                return false;
            }
            var shdz = $("[name='shdz']").val();
            if (shdz == "") {
                art.dialog({
                    title: "提示",
                    content: "请输入收货人详细地址",
                    cancel: true,
                    fixed: true
                });
                return false;
            }
            else if (shdz.length > 40) {
                art.dialog({
                    title: "提示",
                    content: "输入地址字数过长",
                    cancel: true,
                    fixed: true
                });
                return false;
            }
            if (!/^1[23456798][0-9]{9}$/.test($("[name='sjhm']").val())) {
                art.dialog({
                    title: "提示",
                    content: "请输入正确的手机号码",
                    cancel: true,
                    fixed: true
                });
                return false;
            }
            return true;
        };
    })();
</script>
<Hi:Common_New_Footer runat="server" />
